Class java.awt.event.WindowEvent
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.awt.event.WindowEvent

Object
   |
   +----EventObject
           |
           +----AWTEvent
                   |
                   +----ComponentEvent
                           |
                           +----java.awt.event.WindowEvent

public class WindowEvent
extends ComponentEvent
The window-level event.

Version:
1.12 07/01/98
Author:
Carl Quinn, Amy Fowler

Variable Index

 o WINDOW_ACTIVATED
The window activated event type.
 o WINDOW_CLOSED
The window closed event type.
 o WINDOW_CLOSING
The window closing event type.
 o WINDOW_DEACTIVATED
The window deactivated event type.
 o WINDOW_DEICONIFIED
The window deiconified event type.
 o WINDOW_FIRST
Marks the first integer id for the range of window event ids.
 o WINDOW_ICONIFIED
The window iconified event type.
 o WINDOW_LAST
Marks the last integer id for the range of window event ids.
 o WINDOW_OPENED
The window opened event type.

Constructor Index

 o java.awt.event.WindowEvent(Window, int)
Constructs a WindowEvent object with the specified source window and type.

Method Index

 o getWindow()
Returns the window where this event originated.
 o paramString()

Variables

 o WINDOW_ACTIVATED
public static final int WINDOW_ACTIVATED
The window activated event type.

 o WINDOW_CLOSED
public static final int WINDOW_CLOSED
The window closed event type. This event is delivered after the window has been closed as the result of a call to hide or destroy.

 o WINDOW_CLOSING
public static final int WINDOW_CLOSING
The window closing event type. This event is delivered when the user selects "Quit" from the window's system menu. If the program does not explicitly hide or destroy the window as a result of this event, the window close operation will be cancelled.

 o WINDOW_DEACTIVATED
public static final int WINDOW_DEACTIVATED
The window deactivated event type.

 o WINDOW_DEICONIFIED
public static final int WINDOW_DEICONIFIED
The window deiconified event type.

 o WINDOW_FIRST
public static final int WINDOW_FIRST
Marks the first integer id for the range of window event ids.

 o WINDOW_ICONIFIED
public static final int WINDOW_ICONIFIED
The window iconified event type.

 o WINDOW_LAST
public static final int WINDOW_LAST
Marks the last integer id for the range of window event ids.

 o WINDOW_OPENED
public static final int WINDOW_OPENED
The window opened event type. This event is delivered only the first time a window is made visible.

Constructors

 o WindowEvent
public WindowEvent(Window source,
                   int id)
Constructs a WindowEvent object with the specified source window and type.

Parameters:
source - the component where the event originated

Methods

 o getWindow
public java.awt.Window getWindow()
Returns the window where this event originated.

 o paramString
public java.lang.String paramString()
Overrides:
paramString in class ComponentEvent

All Packages  Class Hierarchy  This Package  Previous  Next  Index